package com.ruoyi.userInfo.domain;

import com.baomidou.mybatisplus.annotation.TableField;

import java.util.List;

/**
 * Author: Z.H.Z
 * Date: 2025/2/14 10:48
 */
public class IaeCarSeries {

    private Integer id;
    private String carName;
    private Integer parentId;

    @TableField(exist = false)
    private List<IaeCarSeries> children;

    public IaeCarSeries() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCarName() {
        return carName;
    }

    public void setCarName(String carName) {
        this.carName = carName;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public List<IaeCarSeries> getChildren() {
        return children;
    }

    public void setChildren(List<IaeCarSeries> children) {
        this.children = children;
    }

    public IaeCarSeries(Integer id, String carName, Integer parentId, List<IaeCarSeries> children) {
        this.id = id;
        this.carName = carName;
        this.parentId = parentId;
        this.children = children;
    }
}
